package it.datagraf.formazione.hellostruts.dao;

import it.datagraf.formazione.hellostruts.entity.CurriculumVitae;
import java.sql.SQLException;
import java.util.List;

public interface CurriculumVitaeDaoI {

	public List<CurriculumVitae> list() throws SQLException;
	
	public void insertCV(CurriculumVitae cv) throws SQLException;
	
	public void remove(long id) throws SQLException;

	public List<CurriculumVitae> listCvs_ricerca(String Cognome, String Nome,
			String eta) throws SQLException;

	public int findId(String owner) throws SQLException;

	public CurriculumVitae find(int id) throws SQLException;

	public CurriculumVitae find(CurriculumVitae cv) throws SQLException;
	
	public void update(CurriculumVitae cv) throws SQLException;
	
	public void closeConnection();

}